package com.yulong.web.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class UmsUpdateRoleParam {

    @ApiModelProperty(value = "用户Id",required = true)
    @NotEmpty(message = "用户不能为空")
    private Long adminId ;

    @ApiModelProperty(value = "角色Id",required = true)
    @NotEmpty(message = "角色Id不能为空")
    private List<Integer> roleIds;
}
